export default [
  {
    path: "pay",
    name: "pay",
    component: () => import("@/pages/staticPages/pay/index.vue"),
    meta: {
      name: "支付管理",
    },
    children: [
      {
        name: "payment",
        path: "payment",
        component: () => import("@/pages/staticPages/pay/payMent/index.vue"),
        meta: {
          name: "支付",
        },
      },
      {
        name: "paysuccess",
        path: "paysuccess",
        component: () => import("@/pages/staticPages/pay/paySuccess/index.vue"),
        meta: {
          name: "支付成功",
        },
      },
      {
        name: "payfail",
        path: "payfail",
        component: () => import("@/pages/staticPages/pay/payFail/index.vue"),
        meta: {
          name: "支付失败",
        },
      },
    ],
  },
  {
    path: "preorder",
    name: "preorder",
    component: () => import("@/pages/staticPages/preOrder/index.vue"),
    meta: {
      name: "确认订单",
    },
  },
  {
    path: "/:catch(.*)",
    component: () => import("@/pages/staticPages/page404/index.vue"),
  },
];
